﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Catan
{
    static class RandomNumberGenerator
    {
        private static readonly Random _Random = new Random();


        public static int Generate()
        {
            return _Random.Next();
        }


        public static int Generate(int max)
        {
            return _Random.Next(max + 1);
        }


        public static int Generate(int min, int max)
        {
            return _Random.Next(min, max + 1);
        }
    }
}
